<?php

class TagService extends Service_Base implements ISingleton 
{
	/**
	 *
	 * @var TagService
	 */
	private static $_instance;
	
	/**
	 *
	 * @return TagService
	 */
	public static function getInstance()
	{
		if (!self::$_instance) {
			self::$_instance = new self();
		}
		return self::$_instance;
	}		
	
	/**
	 * @return Db_Rowset
	 */
	public function getAllTags()
	{
		return TagPeer::getInstance()->fetchAll();
	}
}